﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrackSystem.Contracts
{
    public interface IRepositoryWrapper
    {
        IChannelRepository Channel { get; }

        ISensorRepository Sensor { get; }

        IVarRepository Var { get; }

        IEquipRepository Equip { get; }

        ILogicRepository Logic { get; }

        ILoopRepository Loop { get; }

        IAlarmRepository Alarm { get; }
        
        ISlaveRepository Slave { get; }

        Task<int> SaveAsync();

        void InsertRecordTable(string recName);
    }
}
